<template>
  <div class="pc-game">
    <back></back>
    <iframe class="gameHtml" :src="gameUrl" scrolling="no"></iframe>
  </div>
</template>

<script type="text/ecmascript-6">
  import back from '../../components/common/back/back'
  export default {
    data() {
      return {
        gameUrl: ''
      }
    },
    created() {
      this.gameUrl = this.$route.query.gameUrl
    },
    components: {
      back
    }
  }
</script>

<style type="text/css">
  .pc-game {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 99;
    overflow: hidden;
  }

  .pc-game .gameHtml{
    width: 100%;
    height: 100%;
  }
</style>
